/*
 * @Author: cgl
 * @Date: 2023-04-21 17:33:43
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-24 16:12:11
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\basicData\environment.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询环境列表
export function environmentList(data) {
  return request({
    url: '/basic/environment/list',
    method: 'post',
    data,
  })
}
// 记录人
export function environmentRecorders(params) {
  return request({
    url: '/basic/environment/recorders',
    method: 'get',
    params,
  })
}
// 获取环境详细信息
export function environmentDetail(environmentId) {
  return request({
    url: '/basic/environment/getInfo/' + environmentId,
    method: 'get'
  })
}
// 新增环境
export function environmentAdd(data) {
  return request({
    url: `/basic/environment/add`,
    method: "post",
    data,
  });
}